package com.chinasofti;

public class Demo03 {
    public static void main(String[] args) {
        Person person = new Person();
        Person person1 = new Person(12);
    }
}

class Person{
    static{
        System.out.println("我是静态代码块");
    }
    public Person() {
        System.out.println("无参构造");
    }
    public Person(int a) {
        System.out.println("有参构造");
    }
}